/*
 * chunk_service.h
 *
 *  Created on: Mar 2, 2013
 *      Author: redchen
 */

#ifndef CHUNK_SERVICE_H_
#define CHUNK_SERVICE_H_

#ifdef __cplusplus
extern "C" {
#endif

#include <lfs.h>
#include <rpc.h>

typedef void(*HandlerFunc)(void* input, void* output);

void chunk_service_init();

void chunk_service_request(Request* req, Response* resp);

void chunk_service_chunk_create(void* input, void* output);

void chunk_service_no_method(void* input, void* output);

#ifdef __cplusplus
}
#endif

#endif /* CHUNK_SERVICE_H_ */
